package com.beiming.moudle.auth.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigInteger;
import java.time.LocalDateTime;
@Data
@AllArgsConstructor //生成有参构造器
@NoArgsConstructor //生成无参构造器
@TableName("order_master")
public class OrderEntity {
    private Integer orderId;
    private BigInteger orderSn;
    private Integer productId;
    private Integer bussinessId;
    private Integer customerId;
    private String shippingUser;
    private String province;
    private String city;
    private String district;
    private String address;
    private Double orderMoney;
    private Double districtMoney;
    private Double shippingMoney;
    private Double paymentMoney;
    private String shippingCompName;
    private String shippingSn;
    private LocalDateTime createTime;
    private LocalDateTime shippingTime;
    private LocalDateTime payTime;
    private LocalDateTime receiveTime;
    private Integer orderStatus;
    @TableField(exist = false)
    private String productName;
    @TableField(exist = false)
    private String bussinessName;
    @TableField(exist = false)
    private String customerName;

}
